package com.dms.modules.product.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("商品搜索结果")
public class ProductSearchVO {
    
    @ApiModelProperty("商品列表")
    private List<ProductVO> products;
    
    @ApiModelProperty("总记录数")
    private Long total;
    
    @ApiModelProperty("总页数")
    private Long pages;
    
    @ApiModelProperty("当前页")
    private Long current;
    
    @ApiModelProperty("每页数量")
    private Long size;
    
    @ApiModelProperty("是否有下一页")
    private Boolean hasNext;
    
    @ApiModelProperty("搜索建议")
    private List<String> suggestions;
    
    @ApiModelProperty("相关分类")
    private List<CategoryVO> relatedCategories;
    
    @ApiModelProperty("相关标签")
    private List<String> relatedTags;
} 